<div class="col-md-12 process-query" style="padding: 0px;">

  <div crumbs config="crumbsConfig"></div>

  <div class="page-toolbar">
    <div class="portlet-body">
      <div class="row">
        <div class="col-md-12">
          <div class="portlet light">

            <div class="portlet-title">
                <div class="caption font-dark">
                    <i class="icon-user font-dark"></i>
                    <span class="caption-subject bold uppercase">个人中心</span>
                </div>
            </div>

            <div class="portlet-body">
                <div class="htrd-u-tab">
                  <ul class="nav nav-pills htrd-u-nav">
                    <li role="presentation" ng-class="{true:'active'}[!!isActive]" ng-click="userInfo()">
                      <a class="htrd-u-nav-tab" href="#">个人信息</a>
                    </li>
                    <li role="presentation" ng-class="{true:'active'}[!!!isActive]" ng-click="changePassWord() "> 
                      <a class="htrd-u-nav-tab " href="#">修改密码</a>
                    </li>
                  </ul>
                </div>

                <div class="htrd-u-content">
                  <ul class="htrd-u-info" ng-show="!!isActive">
                    <li class="htrd-u-info-user">
                      <span>用户名:</span>
                      <span ng-bind="user.username"></span>
                    </li>
                    <li class="htrd-u-info-name">
                      <span>姓名:</span>
                      <span>{{user.last_name+user.first_name}}</span>
                    </li>
                    <li class="htrd-u-info-group">组: 管理员</li>
                    <li class="htrd-u-info-email">
                      <span style="float: left;line-height: 34px">邮箱: </span>
                      <input type="text" placeholder="请输入邮箱地址" style="float:left;" ng-model="user.email" ng-blur="emailBlur()">
                      <i ng-show="emailShow"></i>
                      <span ng-show="!emailShow" class="htrd-u-emailText">请输入有效的邮箱地址</span>
                      <div class="htrd-l-clear"></div>
                    </li>    
                  </ul>

                  <form class="form-horizontal" ng-show="!!!isActive">
                    <div class="form-group" style="padding-left: 14px">
                      <label for="passWord">原密码 : </label>
                      <div class="col-sm-3">
                        <input type="password" class="form-control" id="passWord" ng-model="user.passWord" ng-blur="pswBlur()">
                      </div>
                      <div class="htrd-l-clear"></div>
                      <div class="error-text" ng-show="pswShow">
                        <div> <span>请输入密码</span></div>
                     </div>
                    </div>
                    <div class="form-group" style="padding-left: 14px">
                      <label for="newPassWord">新密码 : </label>
                      <div class="col-sm-3">
                        <input type="password" class="form-control" id="newPassWord" ng-model="user.newPassWord" ng-blur="newPswBlur()">
                        <span style="color:#737373;font-size: 14px" ng-show="newPswShow">请输入6~20位数字、字母和符号的组合</span>
                        <span style="color:#ff0a0a;font-size: 14px" ng-show="!newPswShow">请输入符合格式的密码</span>
                      </div>
                      <div class="htrd-l-clear"></div>
                    </div>

                    <div class="form-group">
                      <label for="confirmPassWord">确认密码 : </label>
                      <div class="col-sm-3">
                        <input type="password" class="form-control" id="confirmPassWord" ng-model="user.confirmPassWord" ng-blur="confirmPswBlur()">
                      </div>
                      <div class="error-text" ng-show="confirmPswShow">
                        <div> <span>两次输入不一致</span></div>
                     </div>
                      <div class="htrd-l-clear"></div>
                    </div>
                  </form>
                  
                  <div style="padding:15px 116px;">
                    <button type="button" class="btn green" ng-click="quitConfirm()">保存</button>
                    <button type="button" class="btn green" ng-click="cancel()">取消</button>
                  </div>

                </div>
            </div>

          </div>
        </div>
      </div>
    </div>
  </div>
</div>